package com.gxwzxy.medic.dao;

import java.util.List;

import com.gxwzxy.medic.entity.Area;
import com.gxwzxy.medic.entity.otherentity.OtherArea;

public interface AreaDao {
	/**
	 * 查询所有地区,与此项目无关
	 * @param pid
	 * @return
	 */
	List<OtherArea> getAreaInfoDao(String pid);

	int findAreaSize();

	List<Area> findAreaIndex(int start, int size);

	List<Area> findAllArea();

	String findNextArea(String oldareaCode, String grade);

	boolean saveArea(String areacode, String grade, String newareaName);

	List<Area> findAreaByareaCode(String areaCode);

	boolean updateArea(Area a);

	boolean deleteArea(String areaCoed);

	List<Area> ldArea(Area a);
}
